<?php

use App\Models\AfterService;
use Illuminate\Database\Seeder;

class AfterServiceTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        AfterService::create([
        	    'user_id' => 2,
        	    'device_id' => 1,
        		//设备故障
        		'equipment_failure' => '水机不制水',
        		//故障描述
        		'failure_description' => 'failure_description',
        		//上门服务
        		'door_to_door_service' => 0,
        		'name' => 'name1',
        		'phone' => 13245678912,
        		'installation_address' => 'installation_address',
        	]);

        AfterService::create([
        	    'user_id' => 2,
        	    'device_id' => 3,
        		//设备故障
        		'equipment_failure' => '水满不停机',
        		//故障描述
        		'failure_description' => 'failure_description',
        		//上门服务
        		'door_to_door_service' => 1,
        		'name' => 'name2',
        		'phone' => 13245678912,
        		'installation_address' => 'installation_address',
        		'status' => '1',
        	]);
    }
}
